package org.example.sentinel.config;

import com.alibaba.csp.sentinel.annotation.aspectj.SentinelResourceAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author tds
 * @version 1.0.0
 * @Company
 * @ClassName SentinelConfig
 * @Description TODO（这里用一句话描述这个类的作用)
 * @Date 2023-04-24 19:08
 */
@Configuration
public class SentinelConfig {

    @Bean
    public SentinelResourceAspect sentinelResourceAspect() {
        return new SentinelResourceAspect();
    }
}
